import QtQuick 2.0
import QtQuick.Controls 2.3
import QtQuick.Layouts 1.3
import Quick.UIComponent.Switch.Normal 0.1 as Custom
import Quick.UIComponent.Switch.Simple 0.1 as Simple

Page{
    id:root
    title: "Switch"

    Flow{
        anchors.fill: parent
        anchors.margins: 4
        spacing: 10
        flow:Flow.TopToBottom

        Custom.MSwitch{
            text: "Custom"
        }
        SwitchDelegate{
            text: "Delegate"
        }

        Switch{
            text: "System"
        }

        Simple.Switch{
            text: "System Simple"
        }
    }


}
